import { PropType } from 'vue';
import { overviewStatisticsType } from '../api';
export interface BasicProps {
  width: string;
  height: string;
  overviewData: Object;
}

export const overviewDataProp = {
  type: Object as PropType<overviewStatisticsType>,
  required: true,
};
export const basicProps = {
  width: {
    type: String as PropType<string>,
    default: '100%',
  },
  height: {
    type: String as PropType<string>,
    default: '280px',
  },
  overviewData: overviewDataProp,
};
